
// <copyright file="GenericEventArgs.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   The generic event args.
// </summary>

namespace SubhadraSolutions.Sharp.Utils.Collections.Generic
{
    using System;

    /// <summary>
    /// The generic event args.
    /// </summary>
    /// <typeparam name="T">
    /// </typeparam>
    [Serializable]
    public class GenericEventArgs<T> : EventArgs
    {
        #region Constructors and Finalizers

        /// <summary>
        /// Initializes a new instance of the <see cref="GenericEventArgs{T}"/> class.
        /// </summary>
        /// <param name="value">
        /// The value.
        /// </param>
        public GenericEventArgs(T value)
        {
            this.Value = value;
        }

        #endregion Constructors and Finalizers

        #region Public Properties

        /// <summary>
        /// Gets the value.
        /// </summary>
        public T Value { get; private set; }

        #endregion Public Properties
    }
}